<html>
<head>
</head>
<body>
<div id="tabcontent">
<h1><?php echo $form_caption; ?>
</h1>
<div class='toolbar ui-widget-header ui-corner-all'>
<a href='<?php echo site_url('/admin/ckota/');?>' class='link_list'>Daftar kota</a>
</div>
<?php
  echo $add_info;	
  echo "<br>";
  echo form_open($action);
?>
<table width="826" align="left">
<tr>
  <td width="180">Kota</td>
  <td width="334"><input name="nama" type='text' id="nama" size="35" value="<?php echo $kota->nama_kota; ?>"></td>
</tr>
<tr>
  <td width="180">Provinsi</td>
  <td width="334"><input name="provinsi" type='text' id="provinsi" size="35" value="<?php echo $this->provinsi->get_title($kota->id_provinsi); ?>">
  <input name="id_provinsi" type='hidden' id="id_provinsi" size="35" value="<?php echo $kota->id_provinsi; ?>">
  </td>
</tr>
<tr>
  <td width="180">Kode Kota</td>
  <td width="334"><input name="kode_kota" type='text' id="kode_kota" size="10" value="<?php echo $kota->kode_kota; ?>"></td>
</tr>
<tr>
  <td width="180">Jumlah Yayasan</td>
  <td width="334"><input name="yayasan" type='text' id="yayasan" size="10" value="<?php echo $kota->jumlah_yayasan; ?>"></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td><input type="submit" name="Submit" value="<?php echo $btn_caption; ?>">
  <input type="hidden" name="id_kota" value="<?php echo $kota->id_kota; ?>">
  </td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
</table>
<?php
form_close();
?>
</div>
<Script language="javascript">
jQuery(document).ready(function(){
	LoadProvinsiAutoComplete(_site_url,"#provinsi","#id_provinsi");
});
</Script>
</body>
</html>
